package org.letsgoyintong.springboot.mapper;

import org.apache.ibatis.annotations.Select;
import org.letsgoyintong.springboot.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author YinTong-殷铜
 * @since 2025-02-26
 */
public interface RoleMapper extends BaseMapper<Role> {

    @Select("select id from sys_role where flag = #{flag}")
    Integer selectByFLag(String flag);
}
